package top.infopub.mgr.mkt.dao;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.infopub.generic.GenericDao;
import top.infopub.mgr.mkt.domain.BidCurrencyDomain;
import top.infopub.mgr.mkt.vo.BidCurrencyVo;
import top.infopub.model.mkt.BidPlan;

/**
 * @Author Warking
 * @Date 2021/4/26 10:00
 * @Version 1.0
 */
@Repository
public interface BidPlanDao extends GenericDao<BidPlan, String> {
    Page<BidCurrencyDomain> selectByDomainWhere(BidCurrencyVo bidCurrencyVo);

    void insertByProcess(BidPlan bidPlan);

    BidPlan selectByKey(@Param("id") String id);
}
